import axios from "@/utils/request"
import {Login,GetRouterInfo} from "@/type/index"
export const _login=(params:Login)=>{
    return axios.post("/api/user/login",params)
}
export const _getRouter=(params:GetRouterInfo)=>axios.get("/api/user/new",{params})